package com.whty.ws_fengx.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户表
 * @TableName ws_user
 */
@ApiModel(value = "User用户表")
@TableName(value ="ws_user")
@Data
public class User implements Serializable {
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID", required = true)
    @TableId
    private Long id;

    /**
     * 用户账号
     */
    @ApiModelProperty(value = "用户账号", required = true)
    private String userAccount;

    /**
     * 用户密码
     */
    @JsonIgnore
    @ApiModelProperty(value = "用户密码", required = true)
    private String userPassword;

    /**
     * 用户手机号
     */
    @ApiModelProperty(value = "用户手机号", required = true)
    private String userPhone;

    /**
     * 用户昵称
     */
    @ApiModelProperty(value = "用户昵称", required = true)
    private String userNickname;

    /**
     * 用户头像
     */
    @ApiModelProperty(value = "用户头像", required = true)
    private String userPic;

    /**
     * 个性签名
     */
    @ApiModelProperty(value = "个性签名", required = true)
    private String userMotto;

    /**
     * 创建时间
     */
    @JsonIgnore
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonIgnore
    private Date updateTime;

    /**
     * 逻辑删除(0未删除;1删除) 默认是0
     */
    @JsonIgnore
    private Integer isDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}